package com.feign.fallback;

import com.feign.service.UserService;
import org.springframework.stereotype.Component;

/**
 * Created by 许小宝 on 2017/9/22.
 */
@Component
public class UserServiceFallback implements UserService{
    @Override
    public String getUserName() {
        return "error";
    }
}
